package kr.hkit.androidcomplete02.fragment;

import kr.hkit.androidcomplete02.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class WordList extends Activity implements 
WordListFragment.OnWordChangedListener {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.wordlist);
	}
	
	@Override
	public void onWordChanged(int index) {
		TextView worddesc = (TextView) findViewById(R.id.worddesc);
		worddesc.setText(ListFragmentEx.DESC[index]);
	}

}
